//
//  ZWPlayMusicTool.h
//  08.音乐播放器
//
//  Created by mac on 16/3/14.
//  Copyright © 2016年 itheima. All rights reserved.
//  播放音乐的工具类

#import <Foundation/Foundation.h>

@interface ZWPlayMusicTool : NSObject
//单例
+ (ZWPlayMusicTool *)sharedPlayMusic;
//当前时间
@property (assign,nonatomic) NSTimeInterval currentTime;
//总时间
@property (assign,nonatomic) NSTimeInterval duration;

//播放歌曲的方法
- (void)playMusicWithFileName:(NSString *)fileName andDidComplete:(void(^)())complete;

//暂停播放
- (void)pause;

@end
